<div class="products-wrap">
  @foreach ($carts['multi_carts'] as $seller)
  <div class="{{ !$loop->last ? 'mb-3' : '' }}">
    <div class="mb-1">
      @if ($seller['seller_id'])
      <span>{{ __('MultiSeller::common.shop') }}: </span>
      <span class="fw-bold">{{ $seller['store_name'] }}</span>
      @else
      <span>{{ __('MultiSeller::common.shop') }}: </span>
      <span class="fw-bold">{{ __('MultiSeller::common.self') }}</span>
      @endif
    </div>
    @foreach ($seller['list'] as $cart)
    <div class="item">
      <div class="image">
        <div class="img border d-flex align-items-center justify-content-center wh-40 me-2">
          <img src="{{ image_resize($cart['image'], 100, 100) }}" class="img-fluid">
        </div>
        <div class="name">
          <div title="{{ $cart['name'] }}" class="text-truncate-2">{{ $cart['name'] }}</div>
          @if ($cart['variant_labels'])
          <div class="text-muted mt-1">{{ $cart['variant_labels'] }}</div>
          @endif
        </div>
      </div>
      <div class="price text-end">
        <div>{{ $cart['price_format'] }}</div>
        <div class="quantity">x {{ $cart['quantity'] }}</div>
      </div>
    </div>
    @endforeach
  </div>
  @endforeach
</div>
